lst = []
start, end = eval(input('Enter start and end value:'))
for i in range(start,end+1):
    lst.append(i)
print("Sum of the list is:", sum(lst))
